<%--
  Created by IntelliJ IDEA.
  User: H64
  Date: 2021/4/21
  Time: 19:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改商品信息</title>
</head>
<body>
<form action="UpdateGoodsServlet" method="post" class="form-horizontal">
    <div>
        <ul style="list-style-type: none">
            <li>
                <p style="margin-left: 120px">请输入要修改的内容</p>
            </li>
            <li>
                <span>商品编号：</span>
                <input type="text" name="GOODSID" value="${sessionScope.goodssalesBean.GOODSID}">
                <%--                修改数据前，先默认显示修改前的数据，通过session获取后台传出的数据--%>
            </li>
            <li>
                <span>商品名称：</span>
                <input type="text" name="GOODSNAME" value="${sessionScope.goodssalesBean.GOODSNAME}" >
            </li>
            <li>
                <span>商品价格：</span>
                <input type="text" name="GOODSPRICE" value="${sessionScope.goodssalesBean.GOODSPRICE}">
            </li>
            <input type="hidden" id="DEPTNO" name="DEPTNO" value="${sessionScope.id}">
            <li>
                <button type="submit" name="button" style="float:left;">确认</button>
                <button type="button" name="button" style="float: left;margin-left: 164px">重置</button>
            </li>
        </ul>
    </div>
</form>
</body>
</html>
